<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Comment
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property int $goods_id 评论的商品
 * @property string|null $content 评论的内容
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @property string|null $deleted_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Comment onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Comment withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Comment withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $order_num 订单编号
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereOrderNum($value)
 * @property int $goods_spu_id 商品属性id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereGoodsSpuId($value)
 * @property int $is_show 是否显示，1显示，0不显示
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereIsShow($value)
 * @property string|null $nickname 昵称
 * @property int $photo_id 头像id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment whereNickname($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Comment wherePhotoId($value)
 */
class Comment extends Model
{
    protected $table = 'comment';
    use SoftDeletes;
}
